//package com.example.aboutwork.starter;
//
//import com.onion.MyJsonService;
//import com.onion.Person;
//import com.onion.config.DemoStarterConfig;
//import lombok.RequiredArgsConstructor;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//@RestController
//@RequiredArgsConstructor
//@RequestMapping("/starter")
//public class StarterTestController {
//
//    private final MyJsonService myJsonService;
//
//    private final DemoStarterConfig starterConfig;
//
//
//    @GetMapping("/test")
//    public Object test(){
//        return myJsonService.objectToMyJson(new Person("yuyixi", 28, "阆中"));
//    }
//
//    @GetMapping("/test1")
//    public Object test1(){
//        return starterConfig;
//    }
//
//}
